package written_examination;
import java.util.*;

public class Main_1124_1 {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int d = scanner.nextInt();
        if((a + c) % 2 == 0){
            if((b + d) % 2 == 0){
                int candy_A = (a + c) / 2;
                int candy_B = (b + d) / 2;
                int candy_C = d - candy_B;
                if(candy_A >= 0 && candy_B >= 0 && candy_C >= 0){
                    System.out.println(candy_A + " " + candy_B + " " + candy_C);
                }else{
                    System.out.println("No");
                }
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
    }
}
